#include "widgetabout.h"
#include "ui_widgetabout.h"

WidgetAbout::WidgetAbout(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::WidgetAbout)
{
    ui->setupUi(this);

    setModal(true);

    setWindowTitle(tr("About Physics Game Editor"));
    ui->lblCap->setText(tr("Physics Game Editor"));
    ui->lblInf->setText(tr("This program is developed by\n"\
                   "Alexander Kalinin and Alexander Kalinin SR.\n\n\n"\
                   ""));


    ui->lblURL->setText("<A HREF='http://qt.nokia.com/support'>Nokia portal</A>");
    ui->lblURL->setOpenExternalLinks(true);
}

WidgetAbout::~WidgetAbout()
{
    delete ui;
}

void WidgetAbout::on_btnOK_pressed()
{
    close();
}
